package com.task.myThreadPool;

/**
 * @author cxt
 * @date 2022/2/17
 * 拒绝策略
 */
@FunctionalInterface
public interface RejectPolicy<T> {
    void reject(BlockingQueue<T> queue, T task);
}
